package com.zju.DoctorGo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zju.DoctorGo.dto.BookingFilterDTO;
import com.zju.DoctorGo.entity.Booking;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BookingMapper extends BaseMapper<Booking> {
    List<Booking> selectByFilter(@Param("filter") BookingFilterDTO filter);
}
